'use strict'

const mongoose = require('mongoose')
const Schema = mongoose.Schema

const Notice = mongoose.model('Notice', new Schema({
  title: String,
  createdAt: { type: Date, default: Date.now },
}))

module.exports = Notice